package com.example.base.demo.sp;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Order(1)
@Component
public class DictCacheInitializerApplicationRunner implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) {
        System.out.println("应用启动完成，开始初始化字典缓存....");
        System.out.println("加载中....");
        System.out.println("初始化完成....");
    }
}